#pragma once

#include <vector>

class Solution {
public:
    int maxCount(int m, int n, std::vector<std::vector<int>>& ops);

private:
    int slnBruteForce(int m, int n, std::vector<std::vector<int>>& ops);
    int slnFast(int m, int n, std::vector<std::vector<int>> &ops);
};
